﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;

namespace EWS
{
    partial class FlashWarning : Form
    {
        public FlashWarning(List<KeyValuePair<int, String>> docList)
        {
            InitializeComponent();

            String doctorsList = "";

            foreach (KeyValuePair<int, String> item in docList)
            {
                doctorsList += item.Value + " bitte sofort zu Bett "
                             + item.Key + "\n";
            }

            warningText.Text = doctorsList;
        }

        private void okaybutton_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
